ExamPlay Light Logo
Вход

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 5 - No. 25)

What type of data structure is best suited for implementing a 'undo' functionality?
Queue
Stack
Array
Linked list

Обяснение

A stack would store the series of steps and reverse them one by one.

Коментари (0)

Влезте, за да коментирате
Реклама
BrainBehindX Inc Logo
©2026; Осъществено от BrainBehindX Inc